<?php
chdir(dirname(__FILE__));
// Include your Doctrine configuration/setup here, your connections, models, etc.

require_once(dirname(__FILE__) . '/../adroit.conf.php');
//require_once(dirname(__FILE__) . '/../adroit/db/doctrine/lib/Doctrine.php');

$appDir = dirname(__FILE__) . '/../app/';
$config = array('data_fixtures_path'  =>  APP_PATH . 'fixtures',
                'models_path'         =>  APP_PATH . 'model',
                'migrations_path'     =>  APP_PATH . 'migrations',
                'sql_path'            =>  APP_PATH . 'data/sql',
                'yaml_schema_path'    =>  APP_PATH . 'model/schema');

$cli = new Doctrine_Cli($config);
$cli->run($_SERVER['argv']);
?>